Bump version to 3.0.8 and add Flickr API integration#106
Merged
goldlabelapps merged 3 commits intomasterfrom Apr 29, 2026
Merged
Bump version to 3.0.8 and add Flickr API integration#106goldlabelapps merged 3 commits intomasterfrom
goldlabelapps merged 3 commits intomasterfrom
Conversation
Update __version__ to 3.0.8. Modify get_prompt_table_metadata response structure: rename the returned key from "first_record" to "top_record" and enable inclusion of the "prompt" and "completion" fields (previously commented out) so the API returns full top record details.
Introduce a new Flickr integration under app/api/flickr: add a README, main router, and endpoints to (1) GET /flickr (return table counts and recent rows), (2) POST /flickr/createtable (create flickr_* tables), (3) POST /flickr/emptytables (delete rows), and (4) POST /flickr/sync (fetch public photos from Flickr API and insert into flickr_photos). Update .env.sample with FLICKR_USER, FLICKR_KEY, and FLICKR_SECRET variables and register flickr_router in app/api/routes.py. The sync route uses requests and dotenv, and created tables include flickr_accounts, flickr_photos, flickr_albums, and flickr_resources.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new Flickr API integration to the project, providing endpoints for syncing, managing, and querying Flickr data in a manner consistent with the existing GitHub integration. It adds new API routes, database table creation/emptying/syncing logic, and updates the environment configuration and documentation accordingly. Additionally, there is a minor fix to the prompt API and a version bump.
Flickr API Integration
GET /flickr)POST /flickr/createtable)POST /flickr/emptytables)POST /flickr/sync) [1] [2] [3] [4] [5]app/api/routes.py) [1] [2]Configuration and Documentation
.env.sampleto include required Flickr API credentials (FLICKR_USER,FLICKR_KEY,FLICKR_SECRET)Other Improvements
top_recordwithpromptandcompletion)3.0.7to3.0.8